/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	ce 
 * 
 * <p>描   述  :   LoginPageEntryPoint.java for com.pengtu.security    </p>
 * 
 * <p>最后修改 : $: 2011-7-1-上午11:42:54 v 1.0.0	 ce   $     </p>
 * 
*/

package com.pengtu.security;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint;


public class MultiUrlAuthenticationEntryPoint extends LoginUrlAuthenticationEntryPoint {
    //~ Methods ========================================================================================================

    public void afterPropertiesSet() throws Exception {
    	
    }

	/**
     * Allows subclasses to modify the login form URL that should be applicable for a given request.
     *
     * @param request   the request
     * @param response  the response
     * @param exception the exception
     * @return the URL (cannot be null or empty; defaults to {@link #getLoginFormUrl()})
     */
    protected String determineUrlToUseForThisRequest(HttpServletRequest request, HttpServletResponse response,
            AuthenticationException exception) {
        return SpringSecurityUtils.determineLoginUrlToUseForThisRequest(request, response);
    }


}
